# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#   
#   cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
#   Major.create(:name => 'Daley', :city => cities.first)



countries        = Country.create([

				    {:name => 'Venezuela'
					},
					
					{:name => 'Estados Unidos'
					},
					
					{:name => 'Colombia'
					}
					
					])
					
admin = User.create ([

					{:login => "carlitox", 
                     :password => "12345", 
                     :password_confirmation => "12345", 
                     :name => "Carlos", 
                     :lastname => "Romero", 
                     :email => "carlitox@gmail.com",
                     :role => "user",
					 :city => "caracas",
					 :birthdate =>'1985-09-19',
					 :country_idf => Country.find_by_name("Venezuela").id
                    },
                    
                    {:login => "sam", 
                     :password => "666", 
                     :password_confirmation => "666", 
                     :name => "Samuel", 
                     :lastname => "Sosa", 
                     :email => "sam@gmail.com",
                     :role => "admin",
					 :city => "valencia",
					 :birthdate =>'1985-08-06',
					 :country_idf => Country.find_by_name("Venezuela").id
                    },
                    
                    {:login => "giank", 
                     :password => "12345", 
                     :password_confirmation => "12345", 
                     :name => "Giancarlo", 
                     :lastname => "Sanchez", 
                     :email => "giank@gmail.com",
                     :role => "admin",
					 :city => "margarita",
					 :birthdate =>'1986-08-15',
					 :country_idf => Country.find_by_name("Colombia").id
                    }
                    
                    
                    ])
					
paymethods = Paymethod.create ([

                    {:name => "tarjeta", 
					 :namecc => "Samuel Sosa",
					 :numbercc => 456852,
					 :expdatecc => '2009-09-20',
					 :codecc => 1234,
					 :typecc => "Visa",
					 :limit => 300,
					 :user_idf => User.find_by_login("sam").id
                    }
                    
                    
                    ])


childcategories = Category.create ([

				    {:name => 		 'Beisbol',
                     :description => 'Juego de pelota.',
                     :image =>		 '/images/categories/beisbol.jpg'
				    },
				   
				    {:name => 		 'Futbol',
                     :description => 'Las mejores ligas del mundo.',
                     :image =>	  	 '/images/categories/futbol.jpg'
				    },

				    {:name => 		 'Tenis',
                     :description => 'Los mejores eventos de tenis de la temporada.',
                     :image => 		 '/images/categories/tenis.jpg'
				    },
				   
				    {:name => 		 'Basket',
                     :description => 'Los mejores eventos nacionales e internacionales.',
                     :image =>		 '/images/categories/basket.jpg'
				    },
				   
				    {:name =>		 'Boxeo',
                     :description => 'Los vehiculos mas rapidos del planeta',
                     :image =>		 '/images/categories/boxeo.jpg'
				    },
				   
				    {:name =>  		 'Farandula',
                     :description => 'Los mejores eventos nacionales e internacionales',
                     :image =>		 '/images/categories/farandula.jpg'
				    }
				   
				    ])


participants     = Participant.create ([

                    {:name =>  		 'Cocodrilos de Caracas',
                     :description => 'Estadio: Jose Beracascocodrilos.jpga del Parque Naciones Unidas',
                     :image =>		 '/images/basket/cocodrilos.jpg',
					 :acronimo =>	 'CCD'
					},
					
					{:name => 		 'Gaiteros del Zulia',
                     :description => 'stadio: Pedro Elias Belisario Aponte',
                     :image =>		 '/images/basket/gaiteros.jpg',
					 :acronimo =>	 'GAI'
					},
					
					{:name => 		 'La Guaira BBC',
                     :description => 'Estadio: Polideportivo Jose Maria Vargas',
                     :image =>  	 '/images/basket/guaira.jpg',
					 :acronimo =>	 'GUA'
					},
					
					{:name => 		 'Guaiqueries de Margarita',
                     :description => 'Estadio: Ciudad de La Asuncion',
                     :image =>		 '/images/basket/guaiqueries.jpg',
					 :acronimo =>	 'GQM'
					},
					
					{:name => 		 'Guaros de Lara',
                     :description => 'Estadio: Ciudad de La Asuncion',
                     :image => 		 '/images/basket/guaros.jpg',
					 :acronimo =>	 'GLR'
					},
					
					{:name => 		 'Marinos de Anzoategui',
                     :description => 'Estadio: Luis Ramos (Caldera del Diablo)',
                     :image =>	 	 '/images/basket/marinos.jpg',
					 :acronimo =>	 'MAZ'
					},
					
					{:name => 		 'Panteras de Miranda',
                     :description => 'Estadio: Parque Miranda Jose Joaquin',
                     :image => 		 '/images/basket/panteras.jpg',
					 :acronimo =>	 'PNT'
					},
					
					{:name => 	 	 'Toros de Aragua',
                     :description => 'Estadio: Coliseo El Limon',
                     :image =>		 '/images/basket/toros.jpg',
					 :acronimo =>	 'TRS'
					},
					
					{:name => 		 'Trotamundos de Carabobo',
                     :description => 'Estadio:  Forum de Valencia',
                     :image =>		 '/images/basket/trotamundos.jpg',
					 :acronimo =>	 'TRO'
					},


                    {:name => 		 'Caracas',
                     :description => 'Leones del Caracas',
                     :image => 		 '/images/beisbol/caracas.jpg',
					 :acronimo =>	 'LEO'
					},
                    
                    {:name =>  		 'Zulia',
                     :description => 'Aguilas del Zulia',
                     :image =>		 '/images/beisbol/zulia.jpg',
					 :acronimo =>	 'AGL'
					},
                    
                    {:name => 		 'Tiburones',
                     :description => 'Tiburones de La Guaira',
                     :image =>		 '/images/beisbol/tiburones.jpg',
					 :acronimo =>	 'TIB'
					},
                    
                    {:name => 		 'Magallanes',
                     :description => 'Navegantes del Magallanes',
                     :image =>		 '/images/beisbol/magallanes.jpg',
					 :acronimo =>	 'MAG'
					},
                    
                    {:name => 		 'Bravos',
                     :description => 'Bravos de Margarita',
                     :image => 		 '/images/beisbol/bravos.jpg',
					 :acronimo =>	 'BRV'
					},
                    
                    {:name => 		 'Caribes',
                     :description => 'Caribes de Anzoategui',
                     :image =>		 '/images/beisbol/caribes.jpg',
					 :acronimo =>	 'CRB'
					},
                    
                    {:name => 		 'Cardenales',
                     :description => 'Cardenales de Lara',
                     :image =>		 '/images/beisbol/cardenales.jpg',
					 :acronimo =>	 'CDL'
					},
                    
                    {:name => 		 'Tigres',
                     :description => 'Tigres de Aragua',
                     :image =>		 '/images/beisbol/tigres.jpg',
					 :acronimo =>	 'TIG'
					},
					         
                    {:name => 		 'Deportivo Anzoategui SC',
                     :description => 'Estadio: Jose Antonio Anzoategui',
                     :image =>		 '/images/futbol/anzoategui.jpg',
					 :acronimo =>	 'ANZ'
					},
                   
                   {:name => 		 'Aragua FC',
                     :description => 'Estadio: Olimpico Hermanos Ghersi Paez',
                     :image =>		 '/images/futbol/aragua.jpg',
					 :acronimo =>	 'ARA'
					},
                   
                   {:name => 		 'Carabobo FC',
                     :description => 'Estadio: Misael Delgado',
                     :image =>		 '/images/futbol/carabobo.jpg',
					 :acronimo =>	 'CBB'
					},
                   
                   {:name => 		 'Caracas FC',
                     :description => 'Estadio: Olimpico de Caracas',
                     :image =>		'/images/futbol/caracas.jpg',
					 :acronimo =>	 'CCS'
					},
                   
                   {:name => 		 'Estrella Roja FC',
                     :description => 'Estadio: Nacional Brigido Iriarte',
                     :image =>		 '/images/futbol/estrella.jpg',
					 :acronimo =>	 'EST'
					},
                   
                   
                   {:name => 	 	 'Guaros de Lara FC',
                     :description => 'Estadio: Estadio Farid Richa',
                     :image =>		 '/images/futbol/lara.jpg',
					 :acronimo =>	 'GUL'
					},
					
					 {:name => 	 	 'Manny Pacquiao',
                     :description => 'Peso Liviano',
                     :image =>		 '/images/boxeo/manny.jpg',
					 :acronimo =>	 'MAN'
					},
					
					{:name => 	 	 'Muhammad Ali',
                     :description => 'Peso Pesado',
                     :image =>		 '/images/boxeo/ali.jpg',
					 :acronimo =>	 'MUH'
					},
					
					{:name => 	 	 'Mike Tyson',
                     :description => 'Peso Pesado',
                     :image =>		 '/images/boxeo/tyson.jpg',
					 :acronimo =>	 'MIK'
					},
					
					{:name => 	 	 'Rocky Balboa',
                     :description => 'Peso Pesado',
                     :image =>		 '/images/boxeo/balboa.jpg',
					 :acronimo =>	 'ROC'
					},
					
					{:name => 	 	 'Roger Federer',
                     :description => 'Juega muy bien al tennis',
                     :image =>		 '/images/tenis/roger.jpg',
					 :acronimo =>	 'ROG'
					},
					
					{:name => 	 	 'Rafael Nadal',
                     :description => 'Juega muy bien al tennis',
                     :image =>		 '/images/tenis/nadal.jpg',
					 :acronimo =>	 'RAF'
					},
					
					{:name => 	 	 'Novak Djokovic',
                     :description => 'Juega muy bien al tennis',
                     :image =>		 '/images/tenis/novak.jpg',
					 :acronimo =>	 'NOV'
					},
					
					{:name => 	 	 'Pete Sampras',
                     :description => 'Jugo muy bien al tennis',
                     :image =>		 '/images/tenis/pete.jpg',
					 :acronimo =>	 'PET'
					},
					
					{:name => 	 	 'Real Madrid',
                     :description => 'Intentan jugar futbol',
                     :image =>		 '/images/futbol/rm.jpg',
					 :acronimo =>	 'RMA'
					},	

					{:name => 	 	 'Barcelona',
                     :description => 'Saben jugar futbol',
                     :image =>		 '/images/futbol/bcl.jpg',
					 :acronimo =>	 'BCL'
					},

					{:name => 	 	 'Chelsea',
                     :description => 'Juegan al futbol',
                     :image =>		 '/images/futbol/chl.jpg',
					 :acronimo =>	 'CHL'
					},

					{:name => 	 	 'Manchester United',
                     :description => 'Juegan al futbol',
                     :image =>		 '/images/futbol/mud.jpg',
					 :acronimo =>	 'MUD'
					}					
					
					])


events           = Event.create ([

                    {:name => 'Bravos Vs Caribes',
                     :eventstart =>   '2009-09-20 20:00',
                     :eventfinish =>  '2009-09-20 23:20',
                     :betstart =>     '2009-09-15 12:00',
                     :betfinish =>    '2009-09-20 20:00',
                     :description => 'Se jugara en margarita',
					 :cod => 'BRVCRB2009-09-20',
					 :category_idf => Category.find_by_name("Beisbol").id
				    },

                    {:name => 'Magallanes Vs Cardenales',
                     :eventstart =>  '2009-09-30 20:00',
                     :eventfinish => '2009-09-30 23:20',
                     :betstart =>    '2009-09-25 12:00',
                     :betfinish =>   '2009-09-30 20:00',
                     :description => 'Se jugara en lara',
					 :cod => 'CDLMAG2009-09-30',
					 :category_idf => Category.find_by_name("Beisbol").id
				    },

                    {:name => 'Caracas Vs Tigres',
                     :eventstart =>  '2009-09-11 20:00',
                     :eventfinish => '2009-09-11 23:20',
                     :betstart =>    '2009-09-06 12:00',
                     :betfinish =>   '2009-09-11 20:00',
                     :description => 'Se jugara en aragua',
					 :cod => 'LEOTIG2009-09-11',
					 :category_idf => Category.find_by_name("Beisbol").id
				    },

                    {:name => 'Caribes Vs Magallanes',
                     :eventstart =>  '2009-10-11 20:00',
                     :eventfinish => '2009-10-11 23:20',
                     :betstart =>    '2009-10-01 12:00',
                     :betfinish =>   '2009-10-05 20:00',
                     :description => 'Se jugara en oriente',
					 :cod => 'CRBMAG2009-10-11',
					 :category_idf => Category.find_by_name("Beisbol").id
				    },

                    {:name => 'Tigres Vs Zulia',
                     :eventstart =>  '2009-10-05 20:00',
                     :eventfinish => '2009-10-05 23:20',
                     :betstart =>    '2009-10-01 12:00',
                     :betfinish =>   '2009-10-05 20:00',
                     :description => 'Se jugara en zulia',
					 :cod => 'AGLTIG2009-10-05',
					 :category_idf => Category.find_by_name("Beisbol").id
				    },

                    {:name => 'Caracas Vs Magallanes',
                     :eventstart =>  '2009-11-01 20:00',
                     :eventfinish => '2009-11-01 23:20',
                     :betstart =>    '2009-10-20 12:20',
                     :betfinish =>   '2009-11-01 20:00',
                     :description => 'Se jugara en caracas',
					 :cod => 'LEOMAG2009-11-01',
					 :category_idf => Category.find_by_name("Beisbol").id
				    },
    
                    {:name => 'Tiburones Vs Magallanes',
                     :eventstart =>  '2009-11-05 20:00',
                     :eventfinish => '2009-11-05 23:00',
                     :betstart =>    '2009-10-25 12:00',
                     :betfinish =>   '2009-11-05 20:00',
                     :description => 'Se jugara en caracas',
					 :cod => 'MAGTIB2009-11-05',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
                        
                    {:name => 'Caracas Vs Zulia',
                     :eventstart =>  '2009-11-10 20:00',
                     :eventfinish => '2009-11-10 23:00',
                     :betstart =>    '2009-11-01 12:00',
                     :betfinish =>   '2009-11-10 20:00',
                     :description => 'Se jugara en zulia',
					 :cod => 'AGLLEO2009-11-10',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
                        
                    {:name => 'Bravos Vs Tiburones',
                     :eventstart =>  '2009-11-15 20:00',
                     :eventfinish => '2009-11-15 23:00',
                     :betstart =>    '2009-11-05 12:00',
                     :betfinish =>   '2009-11-15 20:00',
                     :description => 'Se jugara en margarita',
					 :cod => 'BRVTIB2009-11-15',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
                        
                    {:name => 'Caribes Vs Cardenales',
                     :eventstart =>  '2009-11-20 20:00',
                     :eventfinish => '2009-11-20 23:00',
                     :betstart =>    '2009-11-10 12:00',
                     :betfinish =>   '2009-11-20 20:00',
                     :description => 'Se jugara en lara',
					 :cod => 'CDLCRB2009-11-20',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
					
					{:name => 'Cardenales Vs Tigres',
                     :eventstart =>  '2009-12-11 20:00',
                     :eventfinish => '2009-12-11 23:00',
                     :betstart =>    '2009-12-06 12:20',
                     :betfinish =>   '2009-12-11 20:00',
                     :description => 'Se jugara en caracas',
					 :cod => 'CDLTIG2009-12-11',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
					
					{:name => 'Caracas Vs Tiburones',
                     :eventstart =>   '2009-12-04 20:00',
                     :eventfinish =>  '2009-12-04 23:00',
                     :betstart =>     '2009-11-29 12:00',
                     :betfinish =>    '2009-11-04 20:00',
                     :description => 'Se jugara en caracas',
					 :cod => 'LEOTIB2009-12-04',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
					
					{:name => 'Zulia Vs Magallanes',
                     :eventstart =>  '2009-12-09 20:00',
                     :eventfinish => '2009-12-09 23:00',
                     :betstart =>    '2009-12-05 12:00',
                     :betfinish =>   '2009-12-09 19:40',
                     :description => 'Se jugara en zulia',
					 :cod => 'AGLMAG2009-12-09',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
					
                    {:name => 'Deportivo Anzoategui SC Vs Aragua FC',
                     :eventstart =>  '2009-11-24 16:00',
                     :eventfinish => '2009-11-24 18:00',
                     :betstart =>    '2009-10-20 12:00',
                     :betfinish =>   '2009-11-23 15:40',
                     :description => 'Se jugara en anzoategui',
					 :cod => 'ANZARA2009-11-24',
					 :category_idf => Category.find_by_name("Futbol").id
				    },

                    {:name => 'Carabobo FC Vs Caracas FC',
                     :eventstart =>  '2009-11-25 16:00',
                     :eventfinish => '2009-11-25 18:00',
                     :betstart =>    '2009-10-22 12:00',
                     :betfinish =>   '2009-11-25 15:40',
                     :description => 'Se jugara en caracas',
					 :cod => 'CBBCCS2009-11-25',
					 :category_idf => Category.find_by_name("Futbol").id
				    },

                    {:name => 'Estrella Roja FC Vs Guaros de Lara FC',
                     :eventstart =>  '2009-11-25 16:00',
                     :eventfinish => '2009-11-25 18:00',
                     :betstart =>    '2009-10-22 12:00',
                     :betfinish =>   '2009-11-25 15:40',
                     :description => 'Se jugara en lara',
					 :cod => 'ESTGUL2009-11-25',
					 :category_idf => Category.find_by_name("Futbol").id
				    },

					 {:name => 'Caracas FC Vs Guaros de Lara FC',
                     :eventstart =>  '2009-12-05 16:00',
                     :eventfinish => '2009-12-05 18:00',
                     :betstart =>    '2009-12-01 12:00',
                     :betfinish =>   '2009-12-05 15:40',
                     :description => 'Se jugara en lara',
					 :cod => 'CCSGUL2009-12-05',
					 :category_idf => Category.find_by_name("Futbol").id
				    },

					{:name => 'Caracas FC Vs Aragua FC',
                     :eventstart =>  '2009-12-07 16:00',
                     :eventfinish => '2009-12-07 18:00',
                     :betstart =>    '2009-12-02 12:00',
                     :betfinish =>   '2009-12-07 15:40',
                     :description => 'Se jugara en aragua',
					 :cod => 'ARACCS2009-12-07',
					 :category_idf => Category.find_by_name("Futbol").id
				    },
			
                    {:name => 'Estrella Roja FC Vs Deportivo Anzoategui SC',
                     :eventstart =>  '2009-12-10 16:00',
                     :eventfinish => '2009-12-10 18:00',
                     :betstart =>    '2009-12-05 12:00',
                     :betfinish => 	 '2009-12-10 15:40',
                     :description => 'Se jugara en anzoategui',
					 :cod => 'ANZEST2009-12-10',
					 :category_idf => Category.find_by_name("Futbol").id
				    },

					{:name => 'Cocodrilos de Caracas Vs Gaiteros del Zulia',
                     :eventstart =>  '2009-06-05 15:00',
                     :eventfinish => '2009-06-05 17:00',
                     :betstart => 	 '2009-06-01 12:00',
                     :betfinish => 	 '2009-06-05 14:40',
                     :description => 'Se jugara en caracas',
					 :cod => 'CCDGAI2009-06-05',
					 :category_idf => Category.find_by_name("Basket").id
				    },

					{:name => 'La Guaira BBC Vs Guaiqueries de Margarita',
                     :eventstart =>  '2009-06-08 15:00',
                     :eventfinish => '2009-06-08 17:00',
                     :betstart => 	 '2009-06-01 12:00',
                     :betfinish => 	 '2009-06-08 14:40',
                     :description => 'Se jugara en margarita',
					 :cod => 'GQMGUA2009-06-08',
					 :category_idf => Category.find_by_name("Basket").id
				    },

					{:name => 'Panteras de Miranda Vs Toros de Aragua',
                     :eventstart =>  '2009-06-10 15:00',
                     :eventfinish => '2009-06-10 17:00',
                     :betstart => 	 '2009-06-05 12:00',
                     :betfinish => 	 '2009-06-10 14:40',
                     :description => 'Se jugara en miranda',
					 :cod => 'PNTTRS2009-06-10',
					 :category_idf => Category.find_by_name("Basket").id
				    },
					

					{:name => 'Panteras de Miranda Vs Cocodrilos de Caracas',
                     :eventstart =>  '2009-06-15 15:00',
                     :eventfinish => '2009-06-15 17:00',
                     :betstart =>	 '2009-06-10 12:00',
                     :betfinish =>   '2009-06-15 14:40',
                     :description => 'Se jugara en miranda',
					 :cod => 'CCDPNT2009-06-15',
					 :category_idf => Category.find_by_name("Basket").id
				    },
					

					{:name => 'Manny Pacquiao Vs Mike Tyson',
                     :eventstart =>  '2010-01-07 15:00',
                     :eventfinish => '2010-01-07 17:00',
                     :betstart =>	 '2010-01-03 12:00',
                     :betfinish =>   '2010-01-07 14:40',
                     :description => 'Se efectuara en Las Vegas.',
					 :cod => 'MANMIK2010-01-07',
					 :category_idf => Category.find_by_name("Boxeo").id
				    },
					

					{:name => 'Muhammad Ali Vs Mike Tyson',
                     :eventstart =>  '2010-01-05 15:00',
                     :eventfinish => '2010-01-05 17:00',
                     :betstart =>	 '2010-01-01 12:00',
                     :betfinish =>   '2010-01-05 14:40',
                     :description => 'Se efectuara en Las Vegas.',
					 :cod => 'MIKMUH2010-01-05',
					 :category_idf => Category.find_by_name("Boxeo").id
				    },
					

					{:name => 'Manny Pacquiao Vs Muhammad Ali',
                     :eventstart =>  '2010-01-10 15:00',
                     :eventfinish => '2010-01-10 17:00',
                     :betstart =>	 '2010-01-05 12:00',
                     :betfinish =>   '2010-01-10 14:40',
                     :description => 'Se efectuara en Las Vegas.',
					 :cod => 'MANMUH2010-01-10',
					 :category_idf => Category.find_by_name("Boxeo").id
				    },
					

					{:name => 'Rocky Balboa Vs Mike Tyson',
                     :eventstart =>  '2010-01-15 15:00',
                     :eventfinish => '2010-01-15 17:00',
                     :betstart =>	 '2010-01-10 12:00',
                     :betfinish =>   '2010-01-15 14:40',
                     :description => 'Se efectuara en Las Vegas.',
					 :cod => 'MIKROC2010-01-15',
					 :category_idf => Category.find_by_name("Boxeo").id
				    },
                     

					{:name => 'Panteras Vs Cocodrilos',
                     :eventstart =>  '2010-01-15 15:00',
                     :eventfinish => '2010-01-15 17:00',
                     :betstart =>	 '2010-01-10 12:00',
                     :betfinish =>   '2010-01-15 14:40',
                     :description => 'Se jugara en miranda',
					 :cod => 'CCDPNT2010-01-15',
					 :category_idf => Category.find_by_name("Basket").id
				    },
					

					{:name => 'Panteras Vs Toros',
                     :eventstart =>  '2010-01-10 15:00',
                     :eventfinish => '2010-01-10 17:00',
                     :betstart => 	 '2010-01-05 12:00',
                     :betfinish => 	 '2010-01-10 14:40',
                     :description => 'Se jugara en aragua',
					 :cod => 'PNTTRS2010-01-10',
					 :category_idf => Category.find_by_name("Basket").id
				    },
					

					{:name => 'Caracas Vs Tiburones',
                     :eventstart =>   '2010-01-10 20:00',
                     :eventfinish =>  '2010-01-10 23:00',
                     :betstart =>     '2010-01-10 12:00',
                     :betfinish =>    '2010-01-10 20:00',
                     :description => 'Se jugara en caracas',
					 :cod => 'LEOTIB2010-01-10',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
					

					{:name => 'Rafael Nadal Vs Roger Federer',
                     :eventstart =>   '2010-01-04 10:00',
                     :eventfinish =>  '2010-01-04 12:00',
                     :betstart =>     '2010-01-01 12:00',
                     :betfinish =>    '2010-01-04 10:00',
                     :description => 'Se jugara en espana',
					 :cod => 'RAFROG2010-01-04',
					 :category_idf => Category.find_by_name("Tenis").id
					},
					

					{:name => 'Novak Djokovic Vs Pete Sampras',
                     :eventstart =>   '2010-01-10 10:00',
                     :eventfinish =>  '2010-01-10 12:00',
                     :betstart =>     '2010-01-05 12:00',
                     :betfinish =>    '2010-01-10 10:00',
                     :description => 'Se jugara en rusia',
					 :cod => 'NOVPET2010-01-1',
					 :category_idf => Category.find_by_name("Tenis").id
					},
					

					{:name => 'RMA Vs BCL',
                     :eventstart =>  '2010-01-10 16:00',
                     :eventfinish => '2010-01-10 18:00',
                     :betstart =>    '2010-01-05 12:00',
                     :betfinish => 	 '2010-01-10 15:40',
                     :description => 'Se jugara en Barcelona',
					 :cod => 'BCLRMA2010-01-10',
					 :category_idf => Category.find_by_name("Futbol").id
					},
					

					{:name => 'CRS Vs MGN',
                     :eventstart =>  '2010-01-10 16:00',
                     :eventfinish => '2010-01-10 18:00',
                     :betstart =>    '2010-01-05 12:00',
                     :betfinish => 	 '2010-01-10 15:40',
                     :description => 'Se jugara en Caracas',
					 :cod => 'CRSMGN2010-01-10',
					 :category_idf => Category.find_by_name("Beisbol").id
					},
					

					{:name => 'MUD Vs CHL',
                     :eventstart =>  '2010-01-10 16:00',
                     :eventfinish => '2010-01-10 18:00',
                     :betstart =>    '2010-01-05 12:00',
                     :betfinish => 	 '2010-01-10 15:40',
                     :description => 'Se jugara en Inglaterra',
					 :cod => 'CHLMUD2010-01-10',
					 :category_idf => Category.find_by_name("Futbol").id
					}
					
                    ])
 

eventparticipants    = Eventparticipant.create ([

					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Manchester United").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'MUD Vs CHL' , :eventstart => '2010-01-10 16:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Chelsea").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'MUD Vs CHL' , :eventstart => '2010-01-10 16:00' }).id
					},
					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Caracas").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'CRS Vs MGN' , :eventstart => '2010-01-10 16:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Magallanes").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'CRS Vs MGN' , :eventstart => '2010-01-10 16:00' }).id
					},
					{:proportion => 2,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Barcelona").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'RMA Vs BCL' , :eventstart => '2010-01-10 16:00' }).id
					},
					
					{:proportion => 2,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Real Madrid").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'RMA Vs BCL' , :eventstart => '2010-01-10 16:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Novak Djokovic").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Novak Djokovic Vs Pete Sampras' , :eventstart => '2010-01-10 10:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Pete Sampras").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Novak Djokovic Vs Pete Sampras' , :eventstart => '2010-01-10 10:00' }).id
					},
					
					{:score => 1,
					 :winner => 'Rafael Nadal',
					 :proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Rafael Nadal").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Rafael Nadal Vs Roger Federer' , :eventstart => '2010-01-04 10:00' }).id
					},
					
					{:score => 0,
					 :winner => 'Rafael Nadal',
					 :proportion => 1,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Roger Federer").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Rafael Nadal Vs Roger Federer' , :eventstart => '2010-01-04 10:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Caracas").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas Vs Tiburones' , :eventstart => '2010-01-10 20:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Tiburones").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas Vs Tiburones' , :eventstart => '2010-01-10 20:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Toros de Aragua").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Panteras Vs Toros' , :eventstart => '2010-01-10 15:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Panteras de Miranda").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Panteras Vs Toros' , :eventstart => '2010-01-10 15:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Panteras de Miranda").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Panteras Vs Cocodrilos' , :eventstart => '2010-01-15 15:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Cocodrilos de Caracas").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Panteras Vs Cocodrilos' , :eventstart => '2010-01-15 15:00' }).id
					},
					
				     {:proportion => 2,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Mike Tyson").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Rocky Balboa Vs Mike Tyson' , :eventstart => '2010-01-15 15:00' }).id
					},
					
					{:proportion => 2,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Rocky Balboa").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Rocky Balboa Vs Mike Tyson' , :eventstart => '2010-01-15 15:00' }).id
					},
					
				     {:proportion => 2,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Muhammad Ali").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Manny Pacquiao Vs Muhammad Ali' , :eventstart => '2010-01-10 15:00' }).id
					},
					
					{:proportion => 2,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Manny Pacquiao").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Manny Pacquiao Vs Muhammad Ali' , :eventstart => '2010-01-10 15:00' }).id
					},
					
				     {:score => 1,
					 :winner => 'Muhammad Ali',
					 :proportion => 2,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Muhammad Ali").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Muhammad Ali Vs Mike Tyson' , :eventstart => '2010-01-05 15:00' }).id
					},
					
					{:score => 0,
					 :winner => 'Muhammad Ali',
					 :proportion => 2,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Mike Tyson").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Muhammad Ali Vs Mike Tyson' , :eventstart => '2010-01-05 15:00' }).id
					},
					
					{:score => 1,
					 :winner => 'Manny Pacquiao',
					 :proportion => 2,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Manny Pacquiao").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Manny Pacquiao Vs Mike Tyson' , :eventstart => '2010-01-07 15:00' }).id
					},
					
					{:score => 0,
					 :winner => 'Manny Pacquiao',
					 :proportion => 2,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Mike Tyson").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Manny Pacquiao Vs Mike Tyson' , :eventstart => '2010-01-07 15:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Panteras de Miranda").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Panteras de Miranda Vs Cocodrilos de Caracas' , :eventstart => '2009-06-15 15:00' }).id
					},
					
					{:proportion => 1,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Cocodrilos de Caracas").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Panteras de Miranda Vs Cocodrilos de Caracas' , :eventstart => '2009-06-15 15:00' }).id
					},

					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Panteras de Miranda").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Panteras de Miranda Vs Toros de Aragua' , :eventstart => '2009-06-10 15:00' }).id
					},
					
					{:proportion => 3,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Toros de Aragua").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Panteras de Miranda Vs Toros de Aragua' , :eventstart => '2009-06-10 15:00' }).id
					},

					{:score => 10,
					 :winner => 'Guaiqueries de Margarita',
					 :proportion => 2,   
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("La Guaira BBC").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'La Guaira BBC Vs Guaiqueries de Margarita' , :eventstart => '2009-06-08 15:00' }).id
					},
					
					{:score => 60,
					 :winner => 'Guaiqueries de Margarita',
					 :proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Guaiqueries de Margarita").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'La Guaira BBC Vs Guaiqueries de Margarita' , :eventstart => '2009-06-08 15:00' }).id
					},

					{:score => 30,
					 :winner => 'Cocodrilos de Caracas',
					 :proportion => 3,   
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Gaiteros del Zulia").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Cocodrilos de Caracas Vs Gaiteros del Zulia' , :eventstart => '2009-06-05 15:00' }).id
					},
					
					{:score => 45,
					 :winner => 'Cocodrilos de Caracas',
					 :proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Cocodrilos de Caracas").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Cocodrilos de Caracas Vs Gaiteros del Zulia' , :eventstart => '2009-06-05 15:00' }).id
					},

					{:score => 3,
					 :winner => 'Bravos',
					 :proportion => 1,   
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Caribes").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Bravos Vs Caribes' , :eventstart => '2009-09-20 20:00' }).id
					},
					
					{:score => 3,
					 :winner => 'Bravos',
					 :proportion => 2,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Bravos").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Bravos Vs Caribes' , :eventstart => '2009-09-20 20:00' }).id
					},

					{:score => 1,
					 :winner => 'Cardenales',
					 :proportion => 1,   
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Magallanes").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Magallanes Vs Cardenales' , :eventstart => '2009-09-30 20:00' }).id
					},
					
					{:score => 5,
					 :winner => 'Cardenales',
					 :proportion => 3,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Cardenales").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Magallanes Vs Cardenales' , :eventstart => '2009-09-30 20:00' }).id
					},

					{:score => 8,
					 :winner => 'Tigres',
					 :proportion => 1,   
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Caracas").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas Vs Tigres' , :eventstart => '2009-09-11 20:00' }).id
					},
					
					{:score => 4,
					 :winner => 'Caracas',
					 :proportion => 3,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Tigres").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas Vs Tigres' , :eventstart => '2009-09-11 20:00' }).id
					},

					{:score => 6,
					 :winner => 'Caribes',
					 :proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Caribes").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caribes Vs Magallanes' , :eventstart => '2009-10-11 20:00' }).id
					},
					
					{:score => 1,
					 :winner => 'Caribes',
					 :proportion => 3,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Magallanes").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caribes Vs Magallanes' , :eventstart => '2009-10-11 20:00' }).id
					},

					{:score => 7,
					 :winner => 'Tigres',
					 :proportion => 2,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Tigres").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Tigres Vs Zulia' , :eventstart => '2009-10-05 20:00' }).id
					},
					
					{:score => 5,
					 :winner => 'Tigres',
					 :proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Zulia").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Tigres Vs Zulia' , :eventstart => '2009-10-05 20:00' }).id
					},


					{:proportion => 1,    
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Cardenales").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Cardenales Vs Tigres' , :eventstart => '2009-12-11 20:00' }).id
					},
					
					{:proportion => 2,    
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Tigres").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Cardenales Vs Tigres' , :eventstart => '2009-12-11 20:00' }).id
					},

					{:proportion => 2,   
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Zulia").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Zulia Vs Magallanes' , :eventstart => '2009-12-09 20:00' }).id
					},
					
					{:proportion => 1,   
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Magallanes").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Zulia Vs Magallanes' , :eventstart => '2009-12-09 20:00' }).id
					},

					{:proportion => 1,
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Caracas").id,					
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas Vs Tiburones' , :eventstart => '2009-12-04 20:00' }).id
					},
					
					{:proportion => 2,
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Tiburones").id,					
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas Vs Tiburones' , :eventstart => '2009-12-04 20:00' }).id
					},


					{:proportion => 1,
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Caracas FC").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas FC Vs Guaros de Lara FC' , :eventstart => '2009-12-05 16:00' }).id
					},
					{:proportion => 2,
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Guaros de Lara FC").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas FC Vs Guaros de Lara FC' , :eventstart => '2009-12-05 16:00' }).id
					},


					{:proportion => 1,
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Caracas FC").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas FC Vs Aragua FC' , :eventstart => '2009-12-07 16:00' }).id
					},
					
					{:proportion => 3,
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Aragua FC").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas FC Vs Aragua FC' , :eventstart => '2009-12-07 16:00' }).id
					},


					{:proportion => 1,
					 :homevisitant =>'visitante',
					 :participant_idf => Participant.find_by_name("Estrella Roja FC").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Estrella Roja FC Vs Deportivo Anzoategui SC' , :eventstart => '2009-12-10 16:00' }).id
					},
					
					{:proportion => 2,
					 :homevisitant =>'casa',
					 :participant_idf => Participant.find_by_name("Deportivo Anzoategui SC").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Estrella Roja FC Vs Deportivo Anzoategui SC' , :eventstart => '2009-12-10 16:00' }).id
					},					


					
					{:score => 0,
					 :winner => 'Caracas',
					 :proportion => 1,
                     :homevisitant =>'visitante',
                     :participant_idf => Participant.find_by_name("Magallanes").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas Vs Magallanes' , :eventstart => '2009-11-01 20:00' }).id
					},
					
                    {:score => 9,
					 :winner => 'Caracas',
					 :proportion => 1,
                     :homevisitant =>'casa',
                     :participant_idf => Participant.find_by_name("Caracas").id,
                     :event_idf => Event.find(:first,:conditions => { :name => 'Caracas Vs Magallanes' , :eventstart => '2009-11-01 20:00' }).id
					},


					{:score => 0,
					 :winner => 'Tiburones',
					 :proportion => 1,
                     :homevisitant =>'casa',
                     :participant_idf => Participant.find_by_name("Magallanes").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Tiburones Vs Magallanes' , :eventstart => '2009-11-05 20:00' }).id
					},
					
					{:score => 3,
					 :winner => 'Tiburones',
					 :proportion => 2,
                     :homevisitant =>'visitante',
                     :participant_idf => Participant.find_by_name("Tiburones").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Tiburones Vs Magallanes' , :eventstart => '2009-11-05 20:00' }).id
					},


					{:score => 3,
					 :winner => 'Zulia',
					 :proportion => 1,
                     :homevisitant =>'visitante',
                     :participant_idf => Participant.find_by_name("Caracas").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Caracas Vs Zulia' , :eventstart => '2009-11-10 20:00' }).id
					},
					
					{:score => 5,
					 :winner => 'Zulia',
					 :proportion => 3,
                     :homevisitant =>'casa',
                     :participant_idf => Participant.find_by_name("Zulia").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Caracas Vs Zulia' , :eventstart => '2009-11-10 20:00' }).id
					},



					{:score => 0,
					 :winner => 'Bravos',
					 :proportion => 1,
                     :homevisitant =>'visitante',
                     :participant_idf => Participant.find_by_name("Tiburones").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Bravos Vs Tiburones' , :eventstart => '2009-11-15 20:00' }).id
					},
					
					{:score => 2,
					 :winner => 'Bravos',
					 :proportion => 3,
                     :homevisitant =>'casa',
                     :participant_idf => Participant.find_by_name("Bravos").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Bravos Vs Tiburones' , :eventstart => '2009-11-15 20:00' }).id
					},

	
	
					{:score => 3,
					 :winner => 'Caribes',
					 :proportion => 1,
                     :homevisitant =>'casa',
                     :participant_idf => Participant.find_by_name("Cardenales").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Caribes Vs Cardenales' , :eventstart => '2009-11-20 20:0' }).id
					},
					
					{:score => 6,
					 :winner => 'Caribes',
					 :proportion => 2,
                     :homevisitant =>'visitante',
                     :participant_idf => Participant.find_by_name("Caribes").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Caribes Vs Cardenales' , :eventstart => '2009-11-20 20:00' }).id
					},


					{:score => 0,
					 :winner => 'Aragua FC',
					 :proportion => 1,
                     :homevisitant =>'casa',
                     :participant_idf => Participant.find_by_name("Deportivo Anzoategui SC").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Deportivo Anzoategui SC Vs Aragua FC' , :eventstart => '2009-11-24 16:00' }).id
					},
					
					{:score => 2,
					 :winner => 'Aragua FC',
					 :proportion => 2,
                     :homevisitant =>'visitante',
                     :participant_idf => Participant.find_by_name("Aragua FC").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Deportivo Anzoategui SC Vs Aragua FC' , :eventstart => '2009-11-24 16:00' }).id
					},


					{:score => 1,
					 :winner => 'Caracas FC',
					 :proportion => 3,
                     :homevisitant =>'visitante',
                     :participant_idf => Participant.find_by_name("Carabobo FC").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Carabobo FC Vs Caracas FC' , :eventstart => '2009-11-25 16:00' }).id
					},
					
					{:score => 3,
					 :winner => 'Caracas FC',
					 :proportion => 1,
                     :homevisitant =>'casa',
                     :participant_idf => Participant.find_by_name("Caracas FC").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Carabobo FC Vs Caracas FC' , :eventstart => '2009-11-25 16:00' }).id
					},
					


					
					{:score => 1,
					 :winner => 'Estrella Roja FC',
					 :proportion => 1,
                     :homevisitant =>'visitante',
                     :participant_idf => Participant.find_by_name("Estrella Roja FC").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Estrella Roja FC Vs Guaros de Lara FC' , :eventstart => '2009-11-25 16:00' }).id
					},
					
					{:score => 0,
					 :winner => 'Estrella Roja FC',
					 :proportion => 2,
                     :homevisitant =>'casa',
                     :participant_idf => Participant.find_by_name("Guaros de Lara FC").id,
                     :event_idf => Event.find(:first, :conditions => { :name => 'Estrella Roja FC Vs Guaros de Lara FC' , :eventstart => '2009-11-25 16:00' }).id
					}
					
					])
					
bets   = Bet.create ([
						{:date => '2009-10-22 12:30',
						:ammount => 777,
						:eventparticipant_idf => 46,
						:user_idf =>1
						},
						
					   {:date => '2009-10-22 13:00',
						:ammount => 123,
						:eventparticipant_idf => 44,
						:user_idf =>1
						},
						
						{:date => '2009-06-10 12:00',
						:ammount => 456,
						:eventparticipant_idf => 1,
						:user_idf =>1
						}

					])